package com.candy.pojo;

public class supplier {
    String sid;
    String spwd;
    String sname;
    String sphone;
    String optime;
    double balance;

    public supplier() {
    }

    public supplier(String sid, String spwd, String sname, String sphone, String optime) {
        this.sid = sid;
        this.spwd = spwd;
        this.sname = sname;
        this.sphone = sphone;
        this.optime = optime;
        this.balance=0.0;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSpwd() {
        return spwd;
    }

    public void setSpwd(String spwd) {
        this.spwd = spwd;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone;
    }

    public String getOptime() {
        return optime;
    }

    public void setOptime(String optime) {
        this.optime = optime;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "supplier{" +
                "sid='" + sid + '\'' +
                ", spwd='" + spwd + '\'' +
                ", sname='" + sname + '\'' +
                ", sphone='" + sphone + '\'' +
                ", optime=" + optime +
                ", balance=" + balance +
                '}';
    }
}
